package Class03_CommonFunctionInterface;

import java.util.function.Consumer;

public class L03LambdaConsumer {
    public static void main(String[] args) {
        comsumerString((s) ->{
            System.out.println(s);
        });

    }

    public static void comsumerString(Consumer<String> consumer){
        consumer.accept("Hello");
    }
}
